/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.deployment.util;

import br.com.deployment.entidade.selo.TipoSelo;

/**
 *
 * @author elyjr
 */
public class VisaoLista {

    private TipoSelo tipoSelo;
    private Long qtd;

    public Long getQtd() {
        return qtd;
    }

    public void setQtd(Long qtd) {
        this.qtd = qtd;
    }

    public TipoSelo getTipoSelo() {
        return tipoSelo;
    }

    public void setTipoSelo(TipoSelo tipoSelo) {
        this.tipoSelo = tipoSelo;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final VisaoLista other = (VisaoLista) obj;
        if (this.tipoSelo != other.tipoSelo && (this.tipoSelo == null || !this.tipoSelo.equals(other.tipoSelo))) {
            return false;
        }
        if (this.qtd != other.qtd && (this.qtd == null || !this.qtd.equals(other.qtd))) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 5;
        hash = 23 * hash + (this.tipoSelo != null ? this.tipoSelo.hashCode() : 0);
        hash = 23 * hash + (this.qtd != null ? this.qtd.hashCode() : 0);
        return hash;
    }

    
    
    @Override
    public String toString() {
        return "VisaoLista{" + "tipoSelo=" + tipoSelo + ", qtd=" + qtd + '}';
    }


    
    



}
